home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / polardrw / data.z / polardraw.h < prev    next >
C/C++ Source or Header  |  1999-05-14  |  14KB  |  339 lines

  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2.  
  3. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  4. //  Microsoft Visual C++, your modifications will be overwritten.
  5.  
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CPOLARDraw wrapper class
  8.  
  9. class CPOLARDraw : public CWnd
  10. {
  11. protected:
  12.     DECLARE_DYNCREATE(CPOLARDraw)
  13. public:
  14.     CLSID const& GetClsid()
  15.     {
  16.         static CLSID const clsid
  17.             = { 0x78ba52e2, 0xd227, 0x11d2, { 0xb9, 0xd2, 0x0, 0x80, 0x48, 0xfd, 0x54, 0xe6 } };
  18.         return clsid;
  19.     }
  20.     virtual BOOL Create(LPCTSTR lpszClassName,
  21.         LPCTSTR lpszWindowName, DWORD dwStyle,
  22.         const RECT& rect,
  23.         CWnd* pParentWnd, UINT nID,
  24.         CCreateContext* pContext = NULL)
  25.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  26.  
  27.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  28.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  29.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  30.         BSTR bstrLicKey = NULL)
  31.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  32.         pPersist, bStorage, bstrLicKey); }
  33.  
  34. // Attributes
  35. public:
  36.     short GetBorderStyle();
  37.     void SetBorderStyle(short);
  38.     short GetAppearance();
  39.     void SetAppearance(short);
  40.     long GetZoom();
  41.     void SetZoom(long);
  42.     BOOL GetDrawGrid();
  43.     void SetDrawGrid(BOOL);
  44.     BOOL GetDrawGuidelines();
  45.     void SetDrawGuidelines(BOOL);
  46.     unsigned long GetBackgroundColor();
  47.     void SetBackgroundColor(unsigned long);
  48.     unsigned long GetPaperColor();
  49.     void SetPaperColor(unsigned long);
  50.     unsigned long GetGridColor();
  51.     void SetGridColor(unsigned long);
  52.     unsigned long GetGuidelineColor();
  53.     void SetGuidelineColor(unsigned long);
  54.     unsigned long GetPaperShadowColor();
  55.     void SetPaperShadowColor(unsigned long);
  56.     unsigned long GetPaperOutlinecolor();
  57.     void SetPaperOutlinecolor(unsigned long);
  58.     long GetEditMode();
  59.     void SetEditMode(long);
  60.     long GetCurrentShapeType();
  61.     void SetCurrentShapeType(long);
  62.     BOOL GetDrawPaper();
  63.     void SetDrawPaper(BOOL);
  64.     BOOL GetDrawPaperOutline();
  65.     void SetDrawPaperOutline(BOOL);
  66.     BOOL GetDrawPaperShadow();
  67.     void SetDrawPaperShadow(BOOL);
  68.     long GetVersion();
  69.     void SetVersion(long);
  70.     BOOL GetSnapToGuidelines();
  71.     void SetSnapToGuidelines(BOOL);
  72.     BOOL GetSnapToGrid();
  73.     void SetSnapToGrid(BOOL);
  74.     long GetPaperShadowOffset();
  75.     void SetPaperShadowOffset(long);
  76.     long GetViewportOriginX();
  77.     void SetViewportOriginX(long);
  78.     long GetViewportOriginY();
  79.     void SetViewportOriginY(long);
  80.     long GetPageOriginX();
  81.     void SetPageOriginX(long);
  82.     long GetPageOriginY();
  83.     void SetPageOriginY(long);
  84.     long GetPageHeight();
  85.     void SetPageHeight(long);
  86.     long GetPageWidth();
  87.     void SetPageWidth(long);
  88.     long GetHorizontalGrid();
  89.     void SetHorizontalGrid(long);
  90.     long GetVerticalGrid();
  91.     void SetVerticalGrid(long);
  92.     BOOL GetShowVerticalScrollBar();
  93.     void SetShowVerticalScrollBar(BOOL);
  94.     BOOL GetShowHorizontalScrollBar();
  95.     void SetShowHorizontalScrollBar(BOOL);
  96.     BOOL GetShowVerticalRuler();
  97.     void SetShowVerticalRuler(BOOL);
  98.     BOOL GetShowHorizontalRuler();
  99.     void SetShowHorizontalRuler(BOOL);
  100.     long GetSelectionCount();
  101.     void SetSelectionCount(long);
  102.     long GetShapeCount();
  103.     void SetShapeCount(long);
  104.     long GetMeasurementUnits();
  105.     void SetMeasurementUnits(long);
  106.     long GetRulerMeasurementUnits();
  107.     void SetRulerMeasurementUnits(long);
  108.     long GetCurrentPolygonType();
  109.     void SetCurrentPolygonType(long);
  110.     long GetUndoSize();
  111.     void SetUndoSize(long);
  112.     BOOL GetLandscape();
  113.     void SetLandscape(BOOL);
  114.     long GetCanvasWidth();
  115.     void SetCanvasWidth(long);
  116.     long GetCanvasHeight();
  117.     void SetCanvasHeight(long);
  118.     BOOL GetEnableRendering();
  119.     void SetEnableRendering(BOOL);
  120.     BOOL GetRecordUndo();
  121.     void SetRecordUndo(BOOL);
  122.     BOOL GetAllowErrorReporting();
  123.     void SetAllowErrorReporting(BOOL);
  124.     BOOL GetAllowSelect();
  125.     void SetAllowSelect(BOOL);
  126.     BOOL GetAllowRotate();
  127.     void SetAllowRotate(BOOL);
  128.     BOOL GetAllowDelete();
  129.     void SetAllowDelete(BOOL);
  130.     BOOL GetAllowResize();
  131.     void SetAllowResize(BOOL);
  132.     BOOL GetAllowMove();
  133.     void SetAllowMove(BOOL);
  134.     BOOL GetAllowEditPoints();
  135.     void SetAllowEditPoints(BOOL);
  136.  
  137. // Operations
  138. public:
  139.     void Undo();
  140.     void Redo();
  141.     BOOL Copy();
  142.     BOOL Paste();
  143.     BOOL Cut();
  144.     BOOL Read(LPCTSTR szFileName);
  145.     BOOL Write(LPCTSTR szFileName, long lType);
  146.     void FitToPage();
  147.     void FitToWidth();
  148.     void FitToHeight();
  149.     void FitToSelection();
  150.     void CenterPage();
  151.     void MovePageOrigin(long lOffsetX, long lOffsetY);
  152.     void MoveViewportOrigin(long lOffsetX, long lOffsetY);
  153.     void SetPageOrigin(long lOffsetX, long lOffsetY);
  154.     void SetViewportOrigin(long lOffsetX, long lOffsetY);
  155.     void SetSelFillColor(unsigned long crFillColor);
  156.     void SetSelLineWidth(long lWidth);
  157.     void SetSelLineDashing(long lLineDashing);
  158.     void SetSelStartArrowHeadType(long lArrowType);
  159.     void SetSelEndArrowHeadType(long lArrowType);
  160.     void SetSelStartArrowWidth(long lWidth);
  161.     void SetSelEndArrowWidth(long lWidth);
  162.     void SetSelStartArrowLength(long lLength);
  163.     void SetSelEndArrowLength(long lLength);
  164.     void SetSelFillType(long lFillType);
  165.     void SetSelFillBackColor(unsigned long crBackColor);
  166.     void SetSelIsFilled(BOOL bNewValue);
  167.     void SetSelHasLine(BOOL bNewValue);
  168.     void SetSelShadowType(long lShadowType);
  169.     void SetSelShadowColor(unsigned long crShadowColor);
  170.     void SetSelShadowOffsetX(long lOffsetX);
  171.     void SetSelShadowOffsetY(long lOffsetY);
  172.     void SetSelHasShadow(BOOL bNewValue);
  173.     void SetSelRotation(long lAngle);
  174.     void SetSelFillPattern(long nPattern, unsigned long crForeGround, unsigned long crBackGround);
  175.     void SetSelFillPicture(LPCTSTR szFileName);
  176.     void SetSelFillPicture2(LPDISPATCH Picture);
  177.     void SetSelFillTexture(long nTexture);
  178.     void SetSelFillTexture2(LPCTSTR szFileName);
  179.     void SetSelFillTexture3(LPDISPATCH Picture);
  180.     void SetSelFillAngle(long lFillAngle);
  181.     void SetSelLeft(long lLeft);
  182.     void SetSelTop(long lTop);
  183.     void SetSelBottom(long lBottom);
  184.     void SetSelRight(long lRight);
  185.     long GetShapeID(long lShapePos);
  186.     long GetSelectedShapeID(long lShapePos);
  187.     void SetShapeLeft(long lShapeID, long lLeft);
  188.     void SetShapeTop(long lShapeID, long lTop);
  189.     void SetShapeBottom(long lShapeID, long lBottom);
  190.     void SetShapeRight(long lShapeID, long lRight);
  191.     void SetShapeRotation(long lShapeID, long lAngle);
  192.     void SetShapeFillType(long lShapeID, long lFillType);
  193.     void SetShapeFillColor(long lShapeID, unsigned long crFillColor);
  194.     void SetShapeFillBackColor(long lShapeID, unsigned long crBackColor);
  195.     void SetShapeFillAngle(long lShapeID, long lFillAngle);
  196.     void SetShapeIsFilled(long lShapeID, BOOL bNewValue);
  197.     void SetShapeLineColor(long lShapeID, unsigned long crLineColor);
  198.     void SetShapeLineWidth(long lShapeID, long lLineWidth);
  199.     void SetShapeLineDashing(long lShapeID, long lLineDashing);
  200.     void SetShapeStartArrowHead(long lShapeID, long lArrowHead);
  201.     void SetShapeEndArrowHead(long lShapeID, long lArrowHead);
  202.     void SetShapeStartArrowWidth(long lShapeID, long lArrowWidth);
  203.     void SetShapeEndArrowWidth(long lShapeID, long lArrowWidth);
  204.     void SetShapeStartArrowLength(long lShapeID, long lArrowLength);
  205.     void SetShapeEndArrowLength(long lShapeID, long lArrowLength);
  206.     void SetShapeHasLine(long lShapeID, BOOL bNewValue);
  207.     void SetShapeHasShadow(long lShapeID, BOOL bNewValue);
  208.     void SetShapeShadowType(long lShapeID, long lShadowType);
  209.     void SetShapeShadowColor(long lShapeID, unsigned long crShadowColor);
  210.     void SetShapeShadowOffsetX(long lShapeID, long lOffsetX);
  211.     void SetShapeShadowOffsetY(long lShapeID, long lOffsetY);
  212.     void TextureDlg();
  213.     void PatternDlg();
  214.     long GetShapeShadowType(long lShapeID);
  215.     long GetShapeFillType(long lShapeID);
  216.     unsigned long GetShapeFillColor(long lShapeID);
  217.     unsigned long GetShapeFillBackColor(long lShapeID);
  218.     long GetShapeFillAngle(long lShapeID);
  219.     BOOL GetShapeIsFilled(long lShapeID);
  220.     unsigned long GetShapeLineColor(long lShapeID);
  221.     long GetShapeLineWidth(long lShapeID);
  222.     long GetShapeLineDashing(long lShapeID);
  223.     long GetShapeStartArrowHead(long lShapeID);
  224.     long GetShapeEndArrowHead(long lShapeID);
  225.     long GetShapeStartArrowWidth(long lShap